package com.google.android.exoplayer2.metadata.id3;

import android.os.Parcel;
import android.os.Parcelable.Creator;
import androidx.annotation.Nullable;
import o.anr;

public final class CommentFrame extends Id3Frame {
    public static final Creator<CommentFrame> CREATOR = new Creator<CommentFrame>() {
        public /* synthetic */ Object createFromParcel(Parcel parcel) {
            return ˊ(parcel);
        }

        public /* synthetic */ Object[] newArray(int i) {
            return ॱ(i);
        }

        public CommentFrame ˊ(Parcel parcel) {
            return new CommentFrame(parcel);
        }

        public CommentFrame[] ॱ(int i) {
            return new CommentFrame[i];
        }
    };
    public final String ˋ;
    public final String ˎ;
    public final String ˏ;

    public CommentFrame(String str, String str2, String str3) {
        super("COMM");
        this.ˏ = str;
        this.ˎ = str2;
        this.ˋ = str3;
    }

    CommentFrame(Parcel parcel) {
        super("COMM");
        this.ˏ = (String) anr.ˎ(parcel.readString());
        this.ˎ = (String) anr.ˎ(parcel.readString());
        this.ˋ = (String) anr.ˎ(parcel.readString());
    }

    public boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || getClass() != obj.getClass()) {
            return false;
        }
        CommentFrame commentFrame = (CommentFrame) obj;
        if (anr.ˎ(this.ˎ, commentFrame.ˎ) && anr.ˎ(this.ˏ, commentFrame.ˏ) && anr.ˎ(this.ˋ, commentFrame.ˋ)) {
            return true;
        }
        return false;
    }

    public int hashCode() {
        int hashCode;
        int i = 0;
        if (this.ˏ != null) {
            hashCode = this.ˏ.hashCode();
        } else {
            hashCode = 0;
        }
        int i2 = (hashCode + 527) * 31;
        if (this.ˎ != null) {
            hashCode = this.ˎ.hashCode();
        } else {
            hashCode = 0;
        }
        hashCode = (hashCode + i2) * 31;
        if (this.ˋ != null) {
            i = this.ˋ.hashCode();
        }
        return hashCode + i;
    }

    public String toString() {
        return this.ʻ + ": language=" + this.ˏ + ", description=" + this.ˎ;
    }

    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(this.ʻ);
        parcel.writeString(this.ˏ);
        parcel.writeString(this.ˋ);
    }
}
